package com.potenza.business.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.List;

/**
 * dish对象 tb_dishes_type
 * 
 * @author ruoyi
 * @date 2023-04-21
 */

public class DishesTypeDTO implements Serializable
{
    /** ID */
    private Long id;

    /** 父菜单ID */
    private Long parentId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 层次 */
    @Excel(name = "层次")
    private Long level;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    List<DishesTypeDTO> children;

    public DishesTypeDTO(){

    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public List<DishesTypeDTO> getChildren() {
        return children;
    }

    public void setChildren(List<DishesTypeDTO> children) {
        this.children = children;
    }
}
